package com.zingrow.web.configure.weixin.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.zingrow.web.configure.weixin.model.Weixin;

public interface WeixinMapper {
	
    //批量删除
	int batchDeletes(List delList);
	//删除
	int deleteWeixin(Integer weixin_id);
	
	//新增
	int addWeixin(Weixin weixin);
	
	//修改
	int modifyWeixin(Weixin weixin);
	
	//模糊查询
	List<Weixin> queryByParams(Map<String,Object> map);
	
	//查询微信id相同
	int queryById(Map<String, Object> map);
	
	//单个查询
	Weixin queryWeixinById(Integer weixin_id);
	
	//查询全部的接口
	List<Weixin> queryByIdName(Map<String, Object> map);
	
	//根据list集合中的id查询  
	List<Weixin> queryWeixinByIdList(List<String> idlist);
	
	//修改微信号导出状态
	int modifyWeixinIsexprot(List<Integer> weixin_id);
	
	//导出
	List<Weixin> queryWeixinbyid(List<Integer> ids);
	
	//新方案根据类型查询微信业务ID
	List<Weixin> queryWeixinIdByType(Map<String,Object> map);
	
	int updatadisplay(List<String> list);
	
	int updatadisplayno(List<String> list);
}
